package com.dc.cameraxtest

import android.app.Application
import android.util.Log
import org.opencv.android.OpenCVLoader

/**
 * @projectName uv
 * @description:
 * @author dc
 * @date :2025.2.24 15:14
 */
class BaseApplication: Application() {

    override fun onCreate() {
        super.onCreate()
        // 加载OpenCV
        if (!OpenCVLoader.initDebug())
            Log.d("ERROR", "Unable to load OpenCV");
        else
            Log.d("SUCCESS", "OpenCV loaded");

    }
}